 package com.dubbo.provider;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 服务启动类
 * @author wyw
 * @date 2018年7月9日
 */
 public class StartService {

     public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("provider.xml") ;
        context.start() ;
        System.out.println("服务开启成功");
        System.in.read() ;
    }
     
}
